<div layout="column">
    <md-button
            class="md-raised"
            ng-click="viewCtrl.createData()">Add Data to map
    </md-button>
    <md-button
            class="md-raised"
            ng-if="!viewCtrl.drawing"
            ng-click="viewCtrl.draw()">Start Drawing
    </md-button>
    <md-button
            class="md-raised"
            ng-if="viewCtrl.drawing"
            ng-click="viewCtrl.stopDrawing()">Stop Drawing
    </md-button>
</div>